package org.cloud.mall.swagger;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class SwaggerProperties {
    private String title;
    private String contactName;
    private String contactUrl;
    private String contactEmail;
    private String version;
    private String description;
    private String basePackage;
    private String termsOfServiceUrl;

    public SwaggerProperties(){
        this.version = "v1.0.0";
        this.title = "云商城 - 用户服务 API";
        this.contactName = "John";
        this.contactUrl = "https://cloud.mall.org/" + version;
        this.contactEmail = "2193351252@qq.com";
        this.description = "Developers week are too lazy to write descriptions";
        this.basePackage = "org.cloud.mall";
        this.termsOfServiceUrl = "http://127.0.0.1:8201/doc.html";
    }
}
